﻿using System;

namespace BuzzX8.Xmpp.StreamElements.Factories
{
    public abstract class StreamElementModel
    {
        private PropertyDictionary parameters;

        protected StreamElementModel() : this(new PropertyDictionary())
        { }

        protected StreamElementModel(PropertyDictionary parameters)
        {
            if (parameters == null) throw new ArgumentNullException("parameters");
            this.parameters = parameters;
        }

        protected PropertyDictionary ModelParameters
        {
            get { return parameters; }
        }
    }
}
